import roundingNumber from './roundingNumber';

const install = function(Vue) {
  Vue.directive('roundingNumber', roundingNumber);
};

if (window.Vue) {
  window['roundingNumber'] = roundingNumber;
  Vue.use(install); // eslint-disable-line
}

roundingNumber.install = install;
export default roundingNumber;
